/*
 * Content: 基础变量、基础常量
 * --------------------------------------------------
 */

public class java_0200_Base {
    public static void main(String[] args) {

        // 基础变量
        System.out.println("--------------------基础变量--------------------");

        byte myByte = 6;
        System.out.println("byte: " + myByte);

        int myInt = 10;
        System.out.println("int: " + myInt);

        short myShort = 11;
        System.out.println("short: " + myShort);

        long myLong = 12;
        System.out.println("long: " + myLong);

        float myFloat = 1.2f;
        System.out.println("float: " + myFloat);

        double myDouble = 1.6;
        System.out.println("double: " + myDouble);

        char myChar = 'x';
        System.out.println("char: " + myChar);

        boolean myBoolean = true;
        System.out.println("boolean: " + myBoolean);

        // 基础常量
        System.out.println("--------------------基础常量--------------------");

        final int myFinal = 16;
        System.out.println("myFinal: " + myFinal);

    }
}
